package com.example.demo.user;

import com.example.demo.nacos.NacosNamespaceLoader;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.cloud.openfeign.EnableFeignClients;

import java.io.IOException;


@EnableDiscoveryClient
@EnableFeignClients
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
@RefreshScope
public class MicroUserApplication {

    public static void main(String[] args) throws IOException {
        SpringApplication.run(MicroUserApplication.class, args);
    }

}
